import request from "@/utils/request";

// 查询试卷维护记录列表
export function listJuanPaperRecord(query) {
  return request({
    url: "/juan/juanPaperRecord/list",
    method: "get",
    params: query,
  });
}

// 查询试卷维护记录详细
export function getJuanPaperRecord(recordId) {
  return request({
    url: "/juan/juanPaperRecord/" + recordId,
    method: "get",
  });
}

// 新增试卷维护记录
export function addJuanPaperRecord(data) {
  return request({
    url: "/juan/juanPaperRecord",
    method: "post",
    data: data,
  });
}

// 修改试卷维护记录
export function updateJuanPaperRecord(data) {
  return request({
    url: "/juan/juanPaperRecord",
    method: "put",
    data: data,
  });
}

// 删除试卷维护记录
export function delJuanPaperRecord(recordId) {
  return request({
    url: "/juan/juanPaperRecord/" + recordId,
    method: "delete",
  });
}
